package com.lst.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: Frank
 * @date: 2019/12/31 13:56
 * @version: V1.0
 */
@Data
@NoArgsConstructor
public class CodeAndNameVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "code", value = "表单提交的code", required = true, dataType = "String")
    protected String code;
    @ApiModelProperty(name = "name", value = "显示值", required = true, dataType = "String")
    protected String name;

    public CodeAndNameVo(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
